.content {
  margin: 0 auto;
  font-family: sans-serif;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  line-height: 1;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.2px;
  overflow-wrap: break-word;
  --content-color: #373c46;
  --h-color: #2e313a;
  --common-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
  --big-radius: 8px;
}

.content {
  color: var(--content-color);
}

.dark-mode .content {
  --content-color: #cccccc;
  --h-color: #cccccc;
}
 
.content h1 {
  color: var(--h-color);
  font-weight: 700;
  font-size: 2.2em;
  margin-top: 1em;
  margin-bottom: 1em;
  border-bottom: rgb(200, 200, 200) solid 2px;
}

.dark-mode .content h1 {
  border-bottom: rgb(100, 100, 100) solid 2px;
}

.content h2 {
  font-size: 1.5em;
}

.content h3 {
  font-size: 1.17em;
}

.content h4 {
  font-size: 1em;
}

.content h5 {
  font-size: 0.83em;
}

.content h6 {
  font-size: 0.75em;
}

.content h2,
.content h3,
.content h4 {
  color: var(--h-color);
  font-weight: 600;
  margin-top: 0.5em;
}

.content h2 {
  margin-top: 18px;
  margin-bottom: 4px;
  padding: 0;
}

.content h3,
.content h4,
.content h5,
.content p,
.content dl {
  margin-top: 14px;
  margin-bottom: 14px;
  padding: 0;
}

.content p,
.content dl {
  margin-top: 14px;
  padding: 0;
}

.content h1 {
  line-height: 48px;
}

.content h2 {
  line-height: 40px;
}

.content h3 {
  line-height: 30px;
}

.content h4 {
  line-height: 26px;
}

h1 *,
h2 *,
h3 *,
h5 *,
h5 *,
h6 * {
  font-size: inherit !important;
}

.content a {
  color: rgb(0, 87, 194);
  text-decoration: none;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

.content a:hover {
  text-decoration: underline;
}

.content ol {
  padding: 0;
  padding-left: 24px;
  margin: 0 0 0 5px;
}

.content ul {
  padding: 0;
  padding-left: 24px;
  margin: 0 0 0 5px;
  list-style: disc !important;
}

.content li {
  line-height: 26px;
}

.content p,
.content ul,
.content ol {
  font-size: 16px;
  line-height: 26px;
}

.content ol ol,
.content ul ol {
  list-style-type: lower-roman;
}

.content code {
  font-family: Consolas, Monaco, Andale Mono, monospace;
  line-height: 1.5;
  font-size: 13px;
  padding: 2px 6px;
}

.content code {
  border-radius: var(--big-radius);
  background-color: #f5f6f7;
}

.content pre {
  border-radius: var(--big-radius);
  background-color: #fdfdfd;
}

.content pre {
  margin-top: 10px;
  box-shadow: var(--common-box-shadow);
}

.content code {
  font-family: Consolas, Monaco, Andale Mono, monospace;
  margin: 0 4px;
}

.content pre {
  line-height: 1.5em;
  overflow: auto;
  padding: 12px 18px;
  border-left: 5px solid #e7e7e7;
}

.dark-mode .content pre {
  background-color: #151515;
  border-left: 5px solid #404040;
}

.dark-mode .content code {
  background-color: #151515;
}

.dark-mode .content pre code {
  background-color: transparent;
}

.content pre > code {
  border: 0;
  display: inline;
  max-width: initial;
  padding: 0;
  margin: 0;
  overflow: initial;
  font-size: .85em;
  white-space: pre;
  background: 0 0;
}

.content code {
  color: #626876;
}

.dark-mode .content code {
  color: #aaaaaa;
}

.content aside {
  display: block;
  float: right;
  width: 390px;
}

.content blockquote {
  border-radius: var(--big-radius);
  border-left: 5px solid #d3f3d3;
  background-color: #fafffa;
  color: #4e4e4e;
  padding: 10px 16px;
  margin-left: 0;
  margin-right: 0;
  box-shadow: var(--common-box-shadow);
}

.dark-mode .content blockquote {
  border-left: 5px solid #043a04;
  background-color: #0a1f0a;
  color: var(--content-color);
}

.content blockquote cite {
  font-size: 14px;
  line-height: 20px;
  color: #bfbfbf;
}

.content blockquote p,
.content blockquote ul,
.content blockquote ol {
  margin: 4px 0;
  font-size: 14px;
}

.content hr {
  text-align: left;
  color: #999;
  height: 2px;
  padding: 0;
  margin: 16px 0;
  background-color: #e7e7e7;
  border: 0 none;
}

.content dl {
  padding: 0;
}

.content dl dt {
  padding: 10px 0;
  margin-top: 16px;
  font-size: 1em;
  font-style: italic;
  font-weight: bold;
}

.content dl dd {
  padding: 0 16px;
  margin-bottom: 16px;
}

.content dd {
  margin-left: 0;
}

.content button,
.content input,
.content select,
.content textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
  *vertical-align: middle;
}

.content button,
.content input {
  line-height: normal;
  *overflow: visible;
}

.content button::-moz-focus-inner,
.content input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.content img
{
  background-size: contain;
  max-width: 60%;
  max-height: 60vh;
  border-radius: var(--big-radius);
  cursor: zoom-in;
  display: block;
  margin: auto;
  box-shadow: var(--common-box-shadow);
}

.content p img {
  margin: 24px auto;
}

.content table {
  *border-collapse: collapse; /* IE7 and lower */
  border-spacing: 0;
  width: 100%;
  line-height: 16px;
  font-size: 14px;
  margin-top: 12px;
  margin-bottom: 14px;
}

.content table {
  background-color: rgb(254, 252, 255);
  border-radius: var(--big-radius);
  box-shadow: var(--common-box-shadow);
}

.dark-mode .content table {
  background-color: rgb(18, 3, 26);
}

.content table td,
.content table th {
  border-left: 1px solid rgb(233, 233, 233);
  border-top: 1px solid rgb(233, 233, 233);
  padding: 8px 10px;
  text-align: left;
  line-height: 24px;
}

.dark-mode .content table td {
  border-left: 1px solid rgb(55, 55, 55);
  border-top: 1px solid rgb(55, 55, 55);
}

.dark-mode .content table th {
  border-left: 1px solid rgb(55, 55, 55);
}

.content table th {
  background-color: rgb(250, 245, 255);
  border-top: none;
}

.dark-mode .content table th {
  background-color: rgb(36, 11, 63);
}

.content table td:first-child,
.content table th:first-child {
  border-left: none;
}

.content table th:first-child {
  -moz-border-radius: 3px 0 0 0;
  -webkit-border-radius: 3px 0 0 0;
  border-radius: 3px 0 0 0;
}

.content table th:last-child {
  -moz-border-radius: 0 3px 0 0;
  -webkit-border-radius: 0 3px 0 0;
  border-radius: 0 3px 0 0;
}

.content table th:only-child {
  -moz-border-radius: 3px 3px 0 0;
  -webkit-border-radius: 3px 3px 0 0;
  border-radius: 3px 3px 0 0;
}

.content table tr:last-child td:first-child {
  -moz-border-radius: 0 0 0 3px;
  -webkit-border-radius: 0 0 0 3px;
  border-radius: 0 0 0 3px;
}

.content table tr:last-child td:last-child {
  -moz-border-radius: 0 0 3px 0;
  -webkit-border-radius: 0 0 3px 0;
  border-radius: 0 0 3px 0;
}

.content kbd {
  border: 1px solid gray;
  border-radius: 3px;
  padding: 0 4px;
}

@media screen and (max-width: 600px) {
  .content {
      font-size: 15px;
  }

  .content p,
  .content ul,
  .content ol,
  .content li {
    font-size: 15px;
    line-height: 24px;
  }

  .content code {
    font-size: 12px;
  }

  .content h1 {
    font-size: 1.9em;
  }

  .content h2 {
    font-size: 1.4em;
  }
  
  .content h3 {
    font-size: 1.17em;
  }
  
  .content h4 {
    font-size: 1em;
  }
  
  .content h5 {
    font-size: 0.83em;
  }
  
  .content h6 {
    font-size: 0.75em;
  }

  .content h2,
  .content h3,
  .content h4,
  .content h5,
  .content p,
  .content dl {
    margin-bottom: 8px;
    padding: 0;
  }

  .content blockquote p {
    font-size: 13px;
  }

  .content table {
    font-size: 13px;
  }

  .content img {
    max-width: 100%;
  }

  .content pre {
    padding: 8px 14px;
  }
}
